<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>企业标签添加</title>
  <link rel="stylesheet" th:href="@{/static/lib/layui/css/layui.css}">
  <link rel="stylesheet" th:href="@{/static/lib/layui_exts/dtree/dtree.css}">
  <link rel="stylesheet" th:href="@{/static/lib/layui_exts/dtree/font/dtreefont.css}">
  <style>
    .btn-add, .btn-cancel {
      float: right;
    }
    .btn-cancel {
      margin-right: 10px;
    }
  </style>
</head>
<body>
<div class="layui-container">
  <form class="layui-form" action="" style="margin-top: 20px;" lay-filter="add">
    <div class="wrapper">
      <div class="layui-form-item">
        <label class="layui-form-label">*用户名</label>
        <div class="layui-input-block">
          <input type="text" name="username" autocomplete="off" placeholder="用户名" class="layui-input">
        </div>
      </div>
      <div class="layui-form-item">
        <label class="layui-form-label">*UUID(统一认证32位码)</label>
        <div class="layui-input-block">
          <input type="text" name="uuid" autocomplete="off" placeholder="UUID" class="layui-input">
        </div>
      </div>
      <div class="layui-form-item">
        <label class="layui-form-label">*真实姓名</label>
        <div class="layui-input-block">
          <input type="text" name="realName" autocomplete="off" placeholder="真实姓名" class="layui-input">
        </div>
      </div>
      <div class="layui-form-item">
        <label class="layui-form-label">*密码</label>
        <div class="layui-input-block">
          <input type="text" name="password" autocomplete="off" placeholder="密码" class="layui-input">
        </div>
      </div>
      <div class="layui-form-item">
        <label class="layui-form-label">状态</label>
        <div class="layui-input-block">
          <input type="checkbox" checked="" name="status" lay-skin="switch" lay-filter="switchTest" lay-text="正常|禁用">
        </div>
      </div>
      <div class="layui-form-item">
        <label class="layui-form-label">角色列表</label>
        <div id="user-role-tree" class="menu-tree menu-tree-tree-box" style="width: 200px; height: 200px; overflow: scroll;"></div>
      </div>
    </div>
    <div class="layui-form-item">
      <div class="layui-input-block">
        <button class="layui-btn layui-btn-normal btn-add" lay-submit lay-filter="add">保存</button>
        <button type="reset" class="layui-btn layui-btn-primary btn-cancel" id="cancel">取消</button>
      </div>
    </div>
  </form>
</div>
<script th:inline="javascript">
    var ctx = [[@{/}]];
</script>
<script th:src="@{/static/lib/lodash.min.js}"></script>
<script th:src="@{/static/lib/axios.min.js}"></script>
<script type="text/javascript" th:src="@{/static/lib/jquery.min.js}"></script>
<script th:src="@{/static/lib/layui/layui.js}"></script>
<script th:src="@{/static/lib/dtree.js}"></script>
<script th:src="@{/static/js/sys/user-add.js}"></script>
</body>
</html>